.class Lcom/instagram/android/fragment/ho;
.super Lcom/instagram/android/d/j/f;
.source "UserListFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/f",
        "<",
        "Ljava/util/ArrayList",
        "<",
        "Lcom/instagram/android/model/b/e;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/ha;


# direct methods
.method constructor <init>(Lcom/instagram/android/fragment/ha;)V
    .locals 0
    .parameter

    .prologue
    .line 300
    iput-object p1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-direct {p0}, Lcom/instagram/android/d/j/f;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    const/4 v1, 0x1

    .line 368
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/ha;->a(Lcom/instagram/android/fragment/ha;Z)Z

    .line 369
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 370
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->r(Lcom/instagram/android/fragment/ha;)V

    .line 371
    return-void
.end method

.method public a(Lcom/instagram/android/d/j/j;)V
    .locals 4
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;>;)V"
        }
    .end annotation

    .prologue
    const/4 v3, 0x1

    .line 382
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->b(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 383
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->o(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 384
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->p()V

    .line 390
    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0, v3}, Lcom/instagram/android/fragment/ha;->b(Lcom/instagram/android/fragment/ha;Z)Z

    .line 391
    new-instance v0, Lcom/instagram/ui/a/a;

    iget-object v1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-virtual {v1}, Lcom/instagram/android/fragment/ha;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    sget v1, Lcom/facebook/ba;->request_error:I

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(I)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->try_again:I

    new-instance v2, Lcom/instagram/android/fragment/hs;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/hs;-><init>(Lcom/instagram/android/fragment/ho;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/instagram/ui/a/a;->a(Z)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->skip:I

    new-instance v2, Lcom/instagram/android/fragment/hr;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/hr;-><init>(Lcom/instagram/android/fragment/ho;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    .line 412
    :goto_1
    return-void

    .line 385
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->c(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 386
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->t()V

    goto :goto_0

    .line 387
    :cond_2
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->p(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 388
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/nux/a/a;->v()V

    goto :goto_0

    .line 409
    :cond_3
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/ha;->j()Landroid/support/v4/app/j;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->request_error:I

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    .line 410
    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 300
    check-cast p1, Ljava/util/ArrayList;

    invoke-virtual {p0, p1}, Lcom/instagram/android/fragment/ho;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method protected a(Ljava/util/ArrayList;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/instagram/android/model/b/e;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 303
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0, p1}, Lcom/instagram/android/fragment/ha;->a(Lcom/instagram/android/fragment/ha;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    .line 304
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->m(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 305
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->f(Lcom/instagram/android/fragment/ha;)Lcom/instagram/android/a/aa;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/instagram/android/a/aa;->a(Ljava/util/List;)V

    .line 307
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->n(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 308
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-virtual {v0, p1}, Lcom/instagram/android/fragment/ha;->a(Ljava/util/ArrayList;)V

    .line 310
    :cond_1
    if-eqz p1, :cond_4

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    .line 311
    :goto_0
    iget-object v1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v1}, Lcom/instagram/android/fragment/ha;->b(Lcom/instagram/android/fragment/ha;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 312
    iget-object v1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v1}, Lcom/instagram/android/fragment/ha;->o(Lcom/instagram/android/fragment/ha;)Z

    move-result v1

    if-eqz v1, :cond_5

    .line 313
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/android/nux/a/a;->a(I)V

    .line 320
    :cond_2
    :goto_1
    if-lez v0, :cond_3

    .line 321
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->b(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 322
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->q(Lcom/instagram/android/fragment/ha;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/hp;

    invoke-direct {v1, p0, p1}, Lcom/instagram/android/fragment/hp;-><init>(Lcom/instagram/android/fragment/ho;Ljava/util/ArrayList;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 364
    :cond_3
    :goto_2
    return-void

    .line 310
    :cond_4
    const/4 v0, 0x0

    goto :goto_0

    .line 314
    :cond_5
    iget-object v1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v1}, Lcom/instagram/android/fragment/ha;->c(Lcom/instagram/android/fragment/ha;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 315
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/android/nux/a/a;->c(I)V

    goto :goto_1

    .line 316
    :cond_6
    iget-object v1, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v1}, Lcom/instagram/android/fragment/ha;->p(Lcom/instagram/android/fragment/ha;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 317
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/instagram/android/nux/a/a;->d(I)V

    goto :goto_1

    .line 352
    :cond_7
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->e(Lcom/instagram/android/fragment/ha;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 353
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->q(Lcom/instagram/android/fragment/ha;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/hq;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/hq;-><init>(Lcom/instagram/android/fragment/ho;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_2
.end method

.method public b()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 375
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/ha;->a(Lcom/instagram/android/fragment/ha;Z)Z

    .line 376
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 377
    iget-object v0, p0, Lcom/instagram/android/fragment/ho;->a:Lcom/instagram/android/fragment/ha;

    invoke-static {v0}, Lcom/instagram/android/fragment/ha;->r(Lcom/instagram/android/fragment/ha;)V

    .line 378
    return-void
.end method
